package com.hp.easyBuy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_goods")
public class TGoods {

  @TableId(type = IdType.AUTO)
  private long goodsid;
  private long categoryid;
  private String goodsname;
  private String goodsimg;
  private double goodsprice;
  private long promotiontype;
  private long goodsstatus;
  private long goodsstock;
  private String goodsdetails;


  public long getGoodsid() {
    return goodsid;
  }

  public void setGoodsid(long goodsid) {
    this.goodsid = goodsid;
  }


  public long getCategoryid() {
    return categoryid;
  }

  public void setCategoryid(long categoryid) {
    this.categoryid = categoryid;
  }


  public String getGoodsname() {
    return goodsname;
  }

  public void setGoodsname(String goodsname) {
    this.goodsname = goodsname;
  }


  public String getGoodsimg() {
    return goodsimg;
  }

  public void setGoodsimg(String goodsimg) {
    this.goodsimg = goodsimg;
  }


  public double getGoodsprice() {
    return goodsprice;
  }

  public void setGoodsprice(double goodsprice) {
    this.goodsprice = goodsprice;
  }


  public long getPromotiontype() {
    return promotiontype;
  }

  public void setPromotiontype(long promotiontype) {
    this.promotiontype = promotiontype;
  }


  public long getGoodsstatus() {
    return goodsstatus;
  }

  public void setGoodsstatus(long goodsstatus) {
    this.goodsstatus = goodsstatus;
  }


  public long getGoodsstock() {
    return goodsstock;
  }

  public void setGoodsstock(long goodsstock) {
    this.goodsstock = goodsstock;
  }


  public String getGoodsdetails() {
    return goodsdetails;
  }

  public void setGoodsdetails(String goodsdetails) {
    this.goodsdetails = goodsdetails;
  }

}
